{{ define "title"}} {{ .Title}} {{end}}
{{ define "header"}} {{ partial "header" .}} {{end}}

{{ define "main" }}

<div class="hero" class="wrap">
    {{ $last := index (last 1 (split (delimit (split .URL "/") "," "") ",")) 0 }}

    <h1>{{ $last | humanize }}</h1>
    Tag: {{ $last }}.
    <p/>

</div>

<ul id="posts">

 {{ range .Paginator.Pages.ByWeight }} {{ partial "page-summary" . }} {{ end }}
  <section>{{ partial "pagination" .}}</section>

</ul>

{{ end }}
{{ define "footer" }} {{ partial "footer" . }} {{ end }}
